package grp.svcInvkr.ctl;

import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;
import java.util.Map;

@Controller
@RefreshScope                                       // Nacos 配置管理热更新
public class EpubXplOpt {
    @GetMapping("/drctXpl")
    public String drctXpl() {
        return "drctXpl";
    }
    @GetMapping("/epubXpl")
    public String epubXpl(Map<String, Object> map, @RequestParam String bookNm) {
        map.put("bookNm", bookNm);
        return "epubXpl";
    }
}
